﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace _2D
{
    public class Tile
    {
        public struct tileStruct
        {
            public int tileX;
            public int tileY;
            public int tileWidth;
            public int tileHeight;
        }

        private tileStruct _tsTile;

        public tileStruct tsTile
        {
            get
            {
                return _tsTile;
            }
            set
            {
                _tsTile = value;
            }
        }

        public Tile(int x, int y, int width, int height)
        {
            _tsTile.tileX = x;
            _tsTile.tileY = y;
            _tsTile.tileWidth = width;
            _tsTile.tileHeight = height;
        }
    }
}

